package com.baizhi.service;

import com.baizhi.entity.Banner;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by 野马 on 2019/6/19.
 */
public interface BannerService {

    public void insertBanner(Banner banner);
    //做假删除
    public void deleteBanner(int bannerId);

    public void updateBanner(Banner banner);

    public Map selectBanner(int page, int rows);

    //查询5个最新的轮播图
    public List<Banner> selectBannnerAll();



}
